<div class="layui-fluid">
    <form class="layui-form">
        <div class="layui-container" style="width: 100%">
            <table border="2" style="width: 100%;height: 900px;font-size: 18px;font-weight: bold;">
            <#if (maxFloor?? && maxFloor > 0)>
                <#list maxFloor..1 as floor>
                    <tr>
                        <td style="color: white;width: 56px">
                            <span style="width: 4%;padding-left: 5px;text-align: right;">
                                <#if (floor > 9)>
                                ${floor}层
                                <#else>
                                    &nbsp;&nbsp;${floor}层
                                </#if>
                            </span>
                        </td>
                        <td>
                            <span style="width: 96%;padding-left: 20px">
                                <#if (floorHouseMap[floor?string]??)>
                                    <#assign houseList=floorHouseMap[floor?string]/>
                                    <#list houseList as house>
                                        <#assign houseStatus=house.houseStatus/>
                                        <#if (houseStatus != 1)>
                                            <#assign houseStatus=2/>
                                        </#if>
                                        <span class="layui-badge"
                                              style="font-size: 18px;padding-top: 5px;padding-bottom: 5px;width: 40px;background-color: ${colorMap[houseStatus?string]};font-weight: bold;">${(house.houseNum)!}</span>
                                    </#list>
                                </#if>
                            </span>
                        </td>
                    </tr>
                </#list>
            </#if>
            </table>
        </div>
    </form>
</div>